@layout("/common/_container.html",{bg:"bg-white",js:["/assets/sysJob/sysJob_add.js"]}){
<form id="SysJobForm" lay-filter="SysJobForm" class="layui-form model-form">
    <div class="layui-form-item">
        <label class="layui-form-label layui-form-required">任务名称</label>
        <div class="layui-input-block">
            <input name="jobName" type="text" class="layui-input" lay-verify="required" autocomplete="off"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">任务组名</label>
        <div class="layui-input-block">
            <select name="jobGroup" class="layui-select" lay-verify="required">
                <option value="DEFAULT">默认</option>
                <option value="SYSTEM">系统</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label layui-form-required">调用目标</label>
        <div class="layui-input-block">
            <input name="invokeTarget" type="text" class="layui-input" lay-verify="required"/>
            <span class="help-block m-b-none"><i class="layui-icon layui-icon-circle-dot"></i> Bean调用示例：ryTask.ryParams('ry')</span>
            <span class="help-block m-b-none"><i class="layui-icon layui-icon-circle-dot"></i> Class类调用示例：com.ruoyi.quartz.task.RyTask.ryParams('ry')</span>
            <span class="help-block m-b-none"><i class="layui-icon layui-icon-circle-dot"></i> 参数说明：支持字符串，布尔类型，长整型，浮点型，整型</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label layui-form-required">cron表达式</label>
        <div class="layui-input-block">
            <input name="cronExpression" id="cronExpression" type="text" class="layui-input" lay-verify="required" autocomplete="off" readonly/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">执行策略</label>
        <div class="layui-input-block">
            <input type="radio" name="misfirePolicy" value="1" title="立即执行" checked="">
            <input type="radio" name="misfirePolicy" value="2" title="执行一次">
            <input type="radio" name="misfirePolicy" value="3" title="放弃执行">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否并发执行</label>
        <div class="layui-input-block">
            <input type="radio" name="concurrent" value="0" title="允许">
            <input type="radio" name="concurrent" value="1" title="禁止" checked="">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="radio" name="status" value="0" title="正常" checked="">
            <input type="radio" name="status" value="1" title="暂停">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">备注信息</label>
        <div class="layui-input-block">
            <input name="remark" type="text" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <a class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</a>
        <a class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</a>
    </div>
</form>

<style>
    .help-block {
        display: block;
        margin-top: 5px;
        margin-bottom: 10px;
        color: #737373;
        margin-bottom: 0px;
    }
</style>
@}